package trace

import (
	"go-main/library/stat/metric"
)

const namespace = "dapper_client"

var (
	reportProtocolCounter = metric.NewCounterVec(&metric.CounterVecOpts{
		Namespace: namespace,
		Subsystem: "report",
		Name:      "protocol_total",
		Help:      "dapper client report protocol count",
		Labels:    []string{"protocol"},
	})
	reportDroppedCounter = metric.NewCounterVec(&metric.CounterVecOpts{
		Namespace: namespace,
		Subsystem: "report",
		Name:      "dropped_total",
		Help:      "dapper client dropped span count",
		Labels:    []string{"protocol"},
	})
	reportErrorCounter = metric.NewCounterVec(&metric.CounterVecOpts{
		Namespace: namespace,
		Subsystem: "report",
		Name:      "error_total",
		Help:      "dapper client send span error count",
		Labels:    []string{"protocol"},
	})
)
